package createModel.singletonMode.enumSingletion;

/**
 * 2024/01/20
 *
 * @see Enum
 * ZhangYi
 * Description 枚举单例模式, 枚举单例模式, 通过枚举来实现单例模式,也是推荐的
 */
public enum EnumSingle {

    INSTANCE;

    public void print() {
        System.out.println("enumSingletion");
    }
}
